package com.jade.linkong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jade.common.annotation.Excel;
import com.jade.common.core.domain.BaseEntity;

/**
 * 考核对象 lk_penalties
 * 
 * @author jade
 * @date 2020-07-15
 */
public class LkPenalties extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考核表ID */
    private Long lkPenaltiesId;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long lkProjectId;

    /** 事项ID */
    @Excel(name = "事项ID")
    private Long lkMatterProjectId;

    /** 扣分（0.2分表里记2） */
    @Excel(name = "扣分", readConverterExp = "0=.2分表里记2")
    private int point;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 扣分人 */
    @Excel(name = "扣分人")
    private String userName;

    public void setLkPenaltiesId(Long lkPenaltiesId) 
    {
        this.lkPenaltiesId = lkPenaltiesId;
    }

    public Long getLkPenaltiesId() 
    {
        return lkPenaltiesId;
    }
    public void setLkProjectId(Long lkProjectId) 
    {
        this.lkProjectId = lkProjectId;
    }

    public Long getLkProjectId() 
    {
        return lkProjectId;
    }
    public void setLkMatterProjectId(Long lkMatterProjectId) 
    {
        this.lkMatterProjectId = lkMatterProjectId;
    }

    public Long getLkMatterProjectId() 
    {
        return lkMatterProjectId;
    }
    public void setPoint(int point) 
    {
        this.point = point;
    }

    public int getPoint() 
    {
        return point;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lkPenaltiesId", getLkPenaltiesId())
            .append("lkProjectId", getLkProjectId())
            .append("lkMatterProjectId", getLkMatterProjectId())
            .append("point", getPoint())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .toString();
    }
}
